import {GmFunctions, RunAt, UserScript} from "./UserScript";

const script: UserScript = {
    name: '学习通答案发送',
    author: 'Dreamix',
    namespace: 'https://www.dreamix.top/',
    icon: 'https://www.dreamix.top/favicon.ico',
    description: '当进入答案页面时，将答案上传到服务器',
    version: '20250321',
    includes: ['https://mooc1.chaoxing.com/**', "https://mooc1-api.chaoxing.com/**"],
    grants: [
        GmFunctions.setValue,
        GmFunctions.getValue,
        GmFunctions.deleteValue
    ],
    runAt: RunAt.document_end
}

export default script